package com.hu.zhcc.shiro.dao.xsf;

import com.hu.zhcc.common.entity.PageRequest;
import com.hu.zhcc.shiro.entity.xsf.pojo.TDiseaseLibrary;
import com.hu.zhcc.shiro.entity.xsf.pojo.TMeals;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TDiseaseLibraryMapper {

    List<TDiseaseLibrary> queryDiseaseLibearyAll();

    List<TDiseaseLibrary> queryDiseaseLibraryByMemberId(Integer memberId);

    int deleteByPrimaryKey( Integer id);

    int insert(TDiseaseLibrary record);

    int insertSelective(TDiseaseLibrary record);

    TDiseaseLibrary selectByPrimaryKey(Integer id);

    List<TDiseaseLibrary> queryAllTDisease(PageRequest pageRequest);

    List<TDiseaseLibrary> queryAllTDisease1();

    int countTDiseaseLibrary(Map<String, Object> parameters);


    int updateByPrimaryKeySelective(TDiseaseLibrary record);

    int updateByPrimaryKey(TDiseaseLibrary record);
}
